package com.cnhis.cloudhealth.clinical.medical.base.service;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;

import java.util.List;
import java.util.Map;

public interface IMperform {
    /**
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @Description:(修改附属医嘱费用明细状态)
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    Map<String,Object> costDetail(Map<String, Object> map) throws Exception ;

    /**
     * @Description:(医技退费审核确认)
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    Map<String,Object> findRefund(Map map) throws Exception ;

    /**
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @Description:(更新退费)
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    Map<String, Object> refund(Map<String, Object> map) throws Exception ;

    /**
     * @Description:(判断是否会员一卡通扣费病人)
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    Map<String,Object> findByVAA1(Map map) throws Exception;

    /**
     * @Description:(查询医技申请)
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    Map<String,Object> findByMedicalApp(Map map) throws Exception ;

    /**
     * @Description:(一卡通扣费)
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @author chengshaowei
     * @date 2016/10/24 13:26
     */
    Map<String,Object> deduction(Map<String, Object> map) throws Exception;
    /**
     * @Description:(取消呼叫)
     * @param '[map]'
     * @return void
     * @throws
     * @author chengshaowei
     * @date 2016/10/27 9:49
     */
    void deleteVCZ1(Map<String,Object> map) throws Exception ;
    /**
     * @Description:(查询退费申请是否存在)
     * @param '[map]'
     * @return void
     * @throws
     * @author chengshaowei
     * @date 2016/10/27 9:49
     */
    List<Map<String, Object>> findByVBY1(Map<String, Object> map) throws Exception;

    /**
     * @Description:(给药途径退费申请)
     * @param '[map]'
     * @return void
     * @throws
     * @author chengshaowei
     * @date 2016/10/27 9:49
     */
    List<Map<String,Object>> findDrugWayreFund(Map<String,Object> map) throws Exception ;

    /**
     * @Description:(医技费用记录申请退费)
     * @param '[map]'
     * @return void
     * @throws
     * @author chengshaowei
     * @date 2016/10/27 9:49
     */
    List<Map<String,Object>> findMedicalRefund(Map<String,Object> map) throws Exception ;


    /**
     * @param '[map]'
     * @return void
     * @throws
     * @Description:(申请退费,药房、医技直接传 审批 状态
     * HORate_VBY1_Data
     * @lMode int    --操作类型 0=申请, 1=审批, 2=拒绝
     * @lBCE01 int    --申请人或审批人
     * @lSource int    --0：医师站 1：药房，2：医技工作站，3：收费 4=门诊输液工作站
     * @BCK01D int=0  --药品退药科室
     * lBCE03   int 操作人
     * )
     * @author chengshaowei
     * @date 2016/10/27 9:49
     */
    ModelVo horatevby1data(Map<String, Object> map) throws Exception;
}
